package com.school.graduation.model;

import java.io.Serializable;

import cn.bmob.v3.BmobObject;

/**
 * 留言帖子
 * Created by U-nookia on 2016/12/20.
 */

public class MessagePost extends BmobObject implements Serializable {
    private Student studentLevMsg;  //留言人
    private Goods goods;  //二手物品
    private String content;  //留言内容
    private int type; //状态码

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Goods getGoods() {
        return goods;
    }

    public void setGoods(Goods goods) {
        this.goods = goods;
    }

    public Student getStudentLevMsg() {
        return studentLevMsg;
    }

    public void setStudentLevMsg(Student studentLevMsg) {
        this.studentLevMsg = studentLevMsg;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "MessagePost{" +
                "studentLevMsg=" + studentLevMsg +
                ", goods=" + goods +
                ", content='" + content + '\'' +
                ", type=" + type +
                '}';
    }
}
